]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Remove Alt+W/A/S/D hack
authorDan Winship <danw@gnome.org>
Tue, 20 Jul 2010 18:22:41 +0000 (14:22 -0400)
committerDan Winship <danw@gnome.org>
Thu, 23 Sep 2010 19:17:06 +0000 (15:17 -0400)
This was just for use within Xephyr, and gnome-shell doesn't work in
Xephyr any more anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=624858

js/ui/altTab.js

index 6a4ba0c510e0b2db9b4d76394cdc41d4a1102c14..a72396a02cfe044551f48fc58bf682e6629caec7 100644 (file)
@@ -221,9 +221,6 @@ AltTabPopup.prototype = {
 
         this._disableHover();
 
-        // The WASD stuff is for debugging in Xephyr, where the arrow
-        // keys aren't mapped correctly
-
         if (keysym == Clutter.grave)
             this._select(this._currentApp, this._nextWindow());
         else if (keysym == Clutter.asciitilde)
@@ -241,22 +238,22 @@ AltTabPopup.prototype = {
                     this._select(this._previousApp());
                 else
                     this._select(this._currentApp, this._previousWindow());
-            } else if (keysym == Clutter.Left || keysym == Clutter.a)
+            } else if (keysym == Clutter.Left)
                 this._select(this._currentApp, this._previousWindow());
-            else if (keysym == Clutter.Right || keysym == Clutter.d)
+            else if (keysym == Clutter.Right)
                 this._select(this._currentApp, this._nextWindow());
-            else if (keysym == Clutter.Up || keysym == Clutter.w)
+            else if (keysym == Clutter.Up)
                 this._select(this._currentApp, null, true);
         } else {
             if (keysym == Clutter.Tab)
                 this._select(this._nextApp());
             else if (keysym == Clutter.ISO_Left_Tab)
                 this._select(this._previousApp());
-            else if (keysym == Clutter.Left || keysym == Clutter.a)
+            else if (keysym == Clutter.Left)
                 this._select(this._previousApp());
-            else if (keysym == Clutter.Right || keysym == Clutter.d)
+            else if (keysym == Clutter.Right)
                 this._select(this._nextApp());
-            else if (keysym == Clutter.Down || keysym == Clutter.s)
+            else if (keysym == Clutter.Down)
                 this._select(this._currentApp, 0);
         }